﻿using System;
using System.Collections.Generic;
using System.Text;
using WebApiClient.DataAnnotations;

namespace ARchGL.Platform.Qianbian
{
    /// <summary>
    /// 项目用户信息 ViewModel
    /// </summary>
    [Serializable]
    public class ProjectUsersApiDto
    {
        /// <summary>
        /// 项目标识
        /// </summary>
        [AliasAs("projectId")]
        public Guid ProjectId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        [AliasAs("realName")]
        public string RealName { get; set; }
        /// <summary>
        /// 项目角色
        /// </summary>
        [AliasAs("roleName")]
        public string RoleName { get; set; }
        /// <summary>
        /// 工种
        /// </summary>
        [AliasAs("workerType")]
        public string WorkerType { get; set; }
        /// <summary>
        /// 项目成员标识
        /// </summary>
        [AliasAs("workerId")]
        public Guid UserId { get; set; }
        /// <summary>
        /// 性别：MALE：男 FEMALE：女
        /// </summary>
        [AliasAs("gender")]
        public string Gender { get; set; }
        /// <summary>
        /// 脱敏后的身份证号
        /// </summary>
        [AliasAs("idNoMarked")]
        public string IdNoMarked { get; set; }
        /// <summary>
        /// 身份证号SHA-1加密后的十六进制字符串
        /// </summary>
        [AliasAs("idNoCoded")]
        public string IdCardSHA { get; set; }
        /// <summary>
        /// 人员类别：
        /// JS：建设单位人员
        /// JL：监理人员
        /// SG: 施工单位人员
        /// ZY：作业工人
        /// </summary>
        [AliasAs("workerCategory")]
        public string Type { get; set; }
    }
}
